package com.zmytest.one2one;

import com.zmytest.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

/**
 * Created on 2018/12/24.
 *
 * @author zhangmingyu
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Entity
public class IdentityCard extends BaseModel<Integer> {

    private String number;

    private String picUrl;

}
